package com.addplus.townmall.server.api.model.town;

import com.addplus.townmall.server.api.model.base.BaseRestModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城会员消息表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-12-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class MemberMessage extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 会员主键id
     */
    private Integer memberId;

    /**
     * 消息标题
     */
    private String title;

    /**
     * 消息内容
     */
    private String context;

    /**
     * 消息来源类型(1:app 2:小程序 3:pc)
     */
    private Integer sourceType;

    /**
     * 跳转类型(1:本地 2:外链)
     */
    private Integer skipType;

    /**
     * 是否已读(0:否 1:是)
     */
    private Integer isRead;

    /**
     * app跳转url
     */
    private String appSkipUrl;

    /**
     * 小程序跳转url
     */
    private String miniSkipUrl;

    /**
     * pc跳转url
     */
    private String pcSkipUrl;

    /**
     * 跳转路由方式
     */
    private String skipRouterType;

    /**
     * 是否删除(0:否 1:是)
     */
    private Integer isDeleted;


}
